﻿/*
 * Created by SharpDevelop.
 * User: user
 * Date: 07/09/2011
 * Time: 15:53
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace csharp.rad.lavanderia.classes
{
	/// <summary>
	/// Description of Customer.
	/// </summary>
	public class Customer : original.T_Customer
	{
		public Customer()
		{
		}
	}
	
	public class Customers : original.T_Customers
	{
		public Customers()
		{
			
		}
		
		public Customer get(int index)
		{
			return (Customer)items[index];
		}
		
		
		public Customer get()
		{
			return get(index);
		}

		public bool fillListActive()
		{
			gsql.prepare();
			gsql.setValue("","*");
			gsql.conditionalWhere= "customer_active = TRUE";
			
			return this.mountList();
		}
	}
}
